home *** CD-ROM | disk | FTP | other *** search
- #include "Event.h"
- #include "NotificationMon.h"
-
- notificationDoc *MainView;
-
- main(void)
- {
-
- InitToolBox(4); /* Std witch chant + 4 calls to MoreMasters */
- UnloadSeg(&InitToolBox);
- BuildMenuBars();
- InitAppleEvents();
-
- MainView = NewNotificationDoc(128);
-
- RegisterNotificationMonitor();
-
- while(!Done)
- MainEvent();
-
- UpdateNotificationPrefs(MainView);
- UnregisterNotificationMonitor();
-
- }